home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
nov_info
/
fyi7
/
060612.dos
< prev
next >
Wrap
Text File
|
1990-06-06
|
2KB
|
43 lines
SUBJECT : Workaround for Login Problem
DATE : 05/30/90
FYI # : 060490rr
OS VERSION : n/a
REVISION : n/a
SHELL VERSION : 2.15 rev C
GENERAL INFORMATION : Correct syntax in LOGIN does not execute as expected
PROBLEM : Consider the following LOGIN code:
IF MEMBER OF "MENU_USERS" THEN BEGIN
MAP F:=SYS:MAIL\%USER_ID
INCLUDE F:LOGIN
#MENUGEN
EXIT "MENU %LOGIN_NAME"
END
If you are a member of the group "MENU_USERS" this
executes correctly. However, if you are not a member
of group "MENU_USERS", it still executes the INCLUDE
statement, but not any of the others within the
BEGIN - END block.
SOLUTION : Replace that LOGIN code with:
MAP F:=SYS:MAIL\%USER_ID
IF MEMBER OF "MENU_USERS" THEN INCLUDE F:LOGIN
IF MEMBER OF "MENU_USERS" THEN BEGIN
#MENUGEN
EXIT "MENU %LOGIN_NAME"
END
COMMENTS (Optional) : This was discovered on our in-house server
YOUR NAME AND DEPT. : Robert Rawson - Natl Accts SE - New York (Paramus)
(Check one)
(XX) This information has been verified.
( ) This is useful information, but has not been verified.